package ar.com.fiuba.ElectronicCircuitAnalyst.domain.common;

/**
 * Specification interface.
 * 
 * Use AbstractSpecification as base for creating specifications, and only the method isSatisfiedBy(Object) must be implemented. 
 */
public interface Specification<T> {

	/**
	 * Check if t is satisfied by the specification
	 * @param t Object to test
	 * @return true if t satisfies the specification
	 */
	public Boolean isSatisfiedBy(T t);

}
